package com.mywork.mvpkodeinxml.model

import com.zchu.rxcache.data.ResultFrom

interface DownloadListener {
    //fun onStart()

    fun onProgress(current: Long, total: Long)

    fun onFinish(filePath: String, fileExt: String, fileSize: Long,source: ResultFrom)

    fun onFailure(t: Throwable?)
}
